package com.buka.communicate.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.CardView;
import android.view.View;
import android.widget.EditText;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.buka.communicate.R;

import net.neiquan.applibrary.base.BaseActivity;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;

/**
 * Created by Administrator on 2017/11/10 0010.
 */

public class LoginActivity extends BaseActivity {

    @InjectView(R.id.backFL)
    FrameLayout backFL;
    @InjectView(R.id.phoneET)
    EditText phoneET;
    @InjectView(R.id.phoneLL)
    LinearLayout phoneLL;
    @InjectView(R.id.codeET)
    EditText codeET;
    @InjectView(R.id.codeSend)
    TextView codeSend;
    @InjectView(R.id.codeLL)
    LinearLayout codeLL;
    @InjectView(R.id.loginCardView)
    CardView loginCardView;
    @InjectView(R.id.notLoginImg)
    ImageView notLoginImg;

    @Override
    public int getRootViewId() {
        return R.layout.activity_login;
    }

    @Override
    public void setViews() {

    }

    @Override
    public void initData() {

    }


    @OnClick({R.id.backFL, R.id.phoneLL, R.id.codeSend, R.id.codeLL, R.id.loginCardView, R.id.notLoginImg})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.backFL:
                break;
            case R.id.phoneLL:
                break;
            case R.id.codeSend:
                break;
            case R.id.codeLL:
                break;
            case R.id.loginCardView:
                startActivity(new Intent(LoginActivity.this,MainActivity.class));
                break;
            case R.id.notLoginImg:
                break;
        }
    }


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.inject(this);
    }

}
